﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ToolwebAQ.adminaq.WebForm1" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <dx:ASPxLabel ID="lblMessage" runat="server" Text="" ForeColor="Red" Font-Bold="true"
            Visible="false">
        </dx:ASPxLabel>
        <dx:ASPxButton ID="btnDelete" runat="server" Text="Delete" 
            onclick="btnDelete_Click">
        </dx:ASPxButton>
        <dx:ASPxGridView ID="devg" runat="server" ClientInstanceName="devg" KeyFieldName="idmenupage"
            AutoGenerateColumns="False" Width="554px" 
            onafterperformcallback="devg_AfterPerformCallback" 
            onrowinserting="devg_RowInserting" onrowupdating="devg_RowUpdating">
            <Columns>
                <dx:GridViewCommandColumn Caption="New" VisibleIndex="1">
                    <NewButton Visible="true" />
                    <EditButton Visible="true" />
                </dx:GridViewCommandColumn>
                <dx:GridViewCommandColumn Caption="Delete" ShowSelectCheckbox="True" VisibleIndex="0">
                    <HeaderTemplate>
                        Delete<dx:ASPxButton id="CheckBoxControl" Text="SelectAllCheckbox" runat="server">
                        </dx:ASPxButton>
                    </HeaderTemplate>
                </dx:GridViewCommandColumn>
                <dx:GridViewDataTextColumn Caption="Name" FieldName="Namepage" Name="Namepage" Settings-AllowSort="False"
                    VisibleIndex="2">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Name Page" FieldName="Urlpage" Name="Urlpage"
                    Settings-AllowSort="False" VisibleIndex="3">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Name Menu" FieldName="Namemenu" Name="Namemenu"
                    VisibleIndex="4">
                </dx:GridViewDataTextColumn>
            </Columns>
            <Settings ShowStatusBar="Visible" />
            <SettingsEditing Mode="EditForm" />
            
        </dx:ASPxGridView>
    </div>
    </form>
</body>
</html>
